/**
 * 共通头部
 */
//当前url
_EsdDynamicTransformationScript.currentUrl = window.location.href;
//当前站点的主页判断
_EsdDynamicTransformationScript.isSiteIndexPage = (_EsdDynamicTransformationScript.currentUrl == 'http://swt.jl.gov.cn' || _EsdDynamicTransformationScript.currentUrl == 'http://swt.jl.gov.cn/' || _EsdDynamicTransformationScript.currentUrl == 'http://swt.jl.gov.cn/#' || _EsdDynamicTransformationScript.currentUrl == 'http://swt.jl.gov.cn/index.html')?true:false;

//***************	网站上部/导航栏等公共部分 begin	***************	//

	// input type为text,password类型的输入框处理
	// 预先定义几个常用的input title值
	_EsdDynamicTransformationScript.placeholderKeyword='搜索框';
	_EsdDynamicTransformationScript.placeholderUsername='用户名';
	_EsdDynamicTransformationScript.placeholderPassword='密码';
	_EsdDynamicTransformationScript.placeholderSpecialText1='您对全省城市管理效能提升工作有何意见或建议';
	_EsdDynamicTransformationScript.placeholderSelectAllSections='所有栏目下拉框';
	
	// 搜索框 对象
	_EsdDynamicTransformationScript.inputObject = $('#keyword');
	$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderKeyword, 'placeholder':_EsdDynamicTransformationScript.placeholderKeyword});

	// 用户名框 对象
	_EsdDynamicTransformationScript.inputObject = $('input[name="user_code"]');
	if($(_EsdDynamicTransformationScript.inputObject).attr('title') == '' && $(_EsdDynamicTransformationScript.inputObject).attr('placeholder') == '' 
		|| ($(_EsdDynamicTransformationScript.inputObject).attr('title') == undefined && $(_EsdDynamicTransformationScript.inputObject).attr('placeholder') == undefined)){
		$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderUsername, 'placeholder':_EsdDynamicTransformationScript.placeholderUsername});
	}
	// 密码框 对象
	_EsdDynamicTransformationScript.inputObject = $('input[name="user_password"]');
	if($(_EsdDynamicTransformationScript.inputObject).attr('title') == '' && $(_EsdDynamicTransformationScript.inputObject).attr('placeholder') == '' 
		|| ($(_EsdDynamicTransformationScript.inputObject).attr('title') == undefined && $(_EsdDynamicTransformationScript.inputObject).attr('placeholder') == undefined)){
		$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderPassword, 'placeholder':_EsdDynamicTransformationScript.placeholderPassword});
	}
	// 所有栏目下拉框 对象
	_EsdDynamicTransformationScript.inputObject = $('select[name="info_catalog_id"]');
	$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderSelectAllSections});

//***************	网站上部/导航栏等公共部分 end	***************	//
